package com.yuanian.timingwheel.model.task.executestragy;

import com.yuanian.timingwheel.model.task.base.BaseTask;
import com.yuanian.timingwheel.model.task.base.Task;

/**
 * 只执行一次的策略
 */
public class OnceExecutionStrategy implements ExecutionStrategy {

    @Override
    public void onSuccess(BaseTask task, Object result) {

    }

    @Override
    public void onFailure(BaseTask task, Exception e) {

    }
}
